package com.itheima.stock;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类
 */
@Slf4j
@SpringBootApplication
@MapperScan(basePackages = {"com.itheima.stock.mapper"})
public class StockApp {
    public static void main(String[] args) {
        SpringApplication.run(StockApp.class, args);
        log.info("项目启动成功......");
    }
}
